package com.lrkj.back.service;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.ZsPeibao;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.api.ParentService;

import com.github.pagehelper.PageInfo;

public interface ZsPeibaoService extends ParentService<ZsPeibao>{
	
	PageInfo<ZsPeibao> findAllZsPeibao (Map<String,Object> map)throws DBException;
	
	PageInfo<ZsPeibao> findPeibaoByZTandHG(Map<String, Object> map)throws DBException;
	
	void updateZhuangtaiByPK(Map<String, Object> map)throws DBException;

	List<ZsPeibao> findAllZsPeibaoNoPage(Map<String, Object> map)throws DBException;
	
	void updateState(Map<String, Object> map)throws DBException;

	int updateBatch(List<ZsPeibao> list)throws DBException;

	int insertBatch(List<ZsPeibao> list)throws DBException;
	
	int updateBatchByBao(List<ZsPeibao> list) throws DBException;
}
